package com.fzn.spring5.dao;

import com.fzn.spring5.entity.Book;

import java.util.List;

/**
 * @program: spring5_demo5
 * 描述：
 * @author: fzn
 * @create: 2022-02-27 13:23
 **/
public interface BookDao {

    void add(Book book);

    void updateBook(Book book);

    void deleteBook(String id);

    int selectCount();

    Book findBookInfo(String id);

    List<Book> findAllBook();

    void batchAddBook(List<Object[]> batchArgs);

    void batchUpdateBook(List<Object[]> batchArgs);

    void batchUDeleteBook(List<Object[]> batchArgs);

}
